Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> @font-face { font-family: myFirstFont; src: url(sansation_light.woff); } div { font-family: myFirstFont; } </style> </head> <body> <div> With CSS3, websites can finally use fonts other than the pre-selected "web-safe" fonts. </div> <p><b>Note:</b> Internet Explorer 8 and earlier, do not support the @font-face rule.</p> </body> <!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss3_font-face_rule by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:23:51 GMT --> </html>
Result:
Try it Yourself - © w3schools.com